package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.dto.NursingProjectPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

public interface NursingPlanService {
    /**
     * 查询所有护理计划
     * @return
     */
    List<NursingPlanVo> all();

    /**
     * 分页查询
     * @param name
     * @param pageNum
     * @param pageSize
     * @param status
     * @return
     */
    PageResponse<NursingPlanVo> list(String name, Integer pageNum, Integer pageSize, Integer status);

    /**
     * 新增护理计划
     * @param planDto
     */
    void add(NursingPlanDto planDto);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingPlanVo findByid(Long id);


    void updata(NursingPlanDto nursingPlanDto);

    void delete(Long id);

    void enableOrDisable(Long id, Integer status);
}
